#include <Arduino.h>
#include <DigitalTube.h>

const uint8_t digital_tube_pos_pins[8] = {PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8};
const uint8_t digital_tube_neg_pins[3] = {PA13, PA14, PA15};

DigitalTube digital_tube(digital_tube_pos_pins, digital_tube_neg_pins);


void setup() {
    digital_tube.begin();
}

void loop() {
    for (uint8_t i = 0; i < 8; ++i) {
        digital_tube.lit(i + 1, '1' + i);
        delay(3);
    }
}
